Skip to content

fix: correct overflow button tooltip text to show hidden icons - #1901

Closed
mhduiy wants to merge 4 commits into
linuxdeepin:masterfrom
mhduiy:agent/bugfix/384749
Closed

mhduiy wants to merge 4 commits into
linuxdeepin:masterfrom
mhduiy:agent/bugfix/384749

Conversation

@mhduiy

@mhduiy mhduiy commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Root Cause Analysis

The overflow area button in the taskbar dock (TaskOverflowButton.qml) used qsTr("Overflow area") as the tooltip text and accessible name. This technical description does not match the expected user-facing text "Show hidden icons" (显示隐藏图标). The root cause is a single incorrect source string — introduced when the overflow button was first added in cf0348bf (2026-11-10) — that propagates to both the hover tooltip (PanelToolTip.text) and the screen reader name (Accessible.name).

Fix Approach

Change both occurrences of qsTr("Overflow area") in TaskOverflowButton.qml to qsTr("Show hidden icons"), and update the four translation files (template .ts + zh_CN/zh_HK/zh_TW) accordingly so the displayed text becomes "显示隐藏图标" / "顯示隱藏圖標" / "顯示隱藏圖示".

Change Safety Assessment

Code Safety

  • Risk Level: Low
  • Only string literal values changed — no logic, control flow, memory, or permission modifications
  • No new interfaces or functions introduced; no callers affected since the qsTr() return value is consumed only for UI display
  • No historical fix is reverted — the "Overflow area" string was the original placeholder since first introduction

Business Impact Scope

The change affects the taskbar overflow area button tooltip and screen reader announcement. When users hover over the overflow button in the dock, the tooltip now displays "Show hidden icons" instead of "Overflow area". Screen reader users will hear the updated accessible name. No other functional modules are affected.

Verification Suggestion

Hover over the overflow area button in the taskbar dock and verify the tooltip shows "Show hidden icons" (显示隐藏图标). Verify screen reader reads the updated name. Test with zh_CN, zh_HK, and zh_TW locales.


根因分析

任务栏溢出区域按钮(TaskOverflowButton.qml)使用 qsTr("Overflow area") 作为 tooltip 文案和无障碍名称。该技术描述性文案与期望的用户面向文案"显示隐藏图标"不符。根因为单一源字符串错误——在 cf0348bf(2026-11-10)首次引入溢出按钮时即使用了该占位文案——同时影响 hover tooltip(PanelToolTip.text)和读屏名称(Accessible.name)。

修复方案

将 TaskOverflowButton.qml 中两处 qsTr("Overflow area") 改为 qsTr("Show hidden icons"),并同步更新 4 个翻译文件(模板 .ts + zh_CN/zh_HK/zh_TW),使显示文案变为"显示隐藏图标"/"顯示隱藏圖標"/"顯示隱藏圖示"。

改动安全评估

代码安全评估

  • 风险等级: 低
  • 仅修改字符串字面值,不涉及逻辑、控制流、内存或权限变更
  • 无新增接口或函数,无调用者受影响——qsTr() 返回值仅用于 UI 展示
  • 未撤销任何历史修复——"Overflow area" 为首次引入时的原始占位文案

业务影响范围

本次改动影响任务栏溢出区域按钮的 tooltip 和无障碍读屏名称。用户 hover 溢出区域按钮时,tooltip 将显示"显示隐藏图标"而非"溢出区域"。读屏用户将听到更新后的无障碍名称。不影响其他功能模块。

验证建议

鼠标 hover 任务栏溢出区域按钮,验证 tooltip 显示"显示隐藏图标"。验证读屏功能读取更新后的名称。分别在 zh_CN、zh_HK、zh_TW 语言环境下测试。

PMS: BUG-384749

Summary by Sourcery

Improve taskbar overflow accessibility and notification initialization while adding automated changelog generation and updated localization coverage.

New Features:

  • Add a reusable GitHub Actions workflow for generating Debian changelogs and optionally opening an automated pull request.

Bug Fixes:

  • Correct the taskbar overflow button tooltip and accessible name to identify hidden icons.
  • Avoid initializing notification screen-lock state when the platform name is empty, supporting unit-test execution.

Enhancements:

  • Add localized overflow-button text for Simplified Chinese, Hong Kong Traditional Chinese, and Taiwan Traditional Chinese.
  • Add newly used task manager and folder menu strings to the translation catalogs.

CI:

  • Add manually dispatchable and reusable changelog-update workflow with configurable version, branch, distribution, and pull-request creation.

mhduiy and others added 4 commits May 29, 2026 13:06
1. Added fallback condition to call initScreenLockedState() when platform
   name is non-empty, ensuring the function runs on Wayland as well
2. Previously skipped on Wayland only; now also handles empty platform
   name case that occurs in unit test environments
3. Marks intention for subsequent migration to the login1 interface

Log: Expand screen lock initialization condition to work in unit test and Wayland environments

fix(notification): 扩展屏幕锁定初始化条件以支持单元测试

1. 新增 platformName 非空时的回退条件,确保在 Wayland 上也能调用
   initScreenLockedState()
2. 原先仅在 Wayland 时跳过;现在同时处理单元测试环境中
   platformName 为空的情况
3. 标注了后续迁移至 login1 接口的意图

Log: 扩展屏幕锁定初始化条件,兼容单元测试和 Wayland 环境
1. Root cause: TaskOverflowButton used qsTr("Overflow area") for both
   PanelToolTip text and Accessible.name, which displays as a technical
   description rather than user-friendly text
2. Fix: change source string to qsTr("Show hidden icons") and update
   zh_CN/zh_HK/zh_TW translations accordingly
3. Impact: hover tooltip on overflow area now shows correct text,
   screen reader also reads the updated accessible name

Log: Fixed overflow area tooltip text to show hidden icons

Influence:
1. Test hovering over the overflow area button in taskbar
2. Verify tooltip displays "Show hidden icons" (显示隐藏图标)
3. Verify screen reader reads the updated accessible name

fix: 修正溢出区域按钮 tooltip 文案为显示隐藏图标

1. 根因:TaskOverflowButton 的 PanelToolTip 和 Accessible.name 均使用
   qsTr("Overflow area"),展示为技术描述而非面向用户的功能文案
2. 方案:将源字符串改为 qsTr("Show hidden icons"),同步更新
   zh_CN/zh_HK/zh_TW 翻译文件
3. 影响:溢出区域 hover tooltip 文案修正为"显示隐藏图标",
   无障碍读屏名称同步更新

Log: 修正溢出区域 tooltip 文案为显示隐藏图标

Influence:
1. 测试鼠标 hover 任务栏溢出区域按钮
2. 验证 tooltip 显示"显示隐藏图标"
3. 验证无障碍读屏功能读取更新后的名称

PMS: BUG-384749
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mhduiy

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sourcery-ai

sourcery-ai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Adjust screen-lock initialization so it also runs when the platform name is empty, as in unit-test environments.

  • panels/notification/server/notificationmanager.cpp L84-85

UI

Update the overflow button’s tooltip and accessible name to say “Show hidden icons,” with the corresponding translation entries.

  • panels/dock/taskmanager/package/TaskOverflowButton.qml L1-343
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts L68-120
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts L66-118
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts L67-118
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts L67-118

Configuration

Add a manually triggered and reusable workflow to generate a Debian changelog and optionally open a pull request.

  • .github/workflows/update-changelog.yml L1-269

Other changes

Files not grouped.

  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts L119
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts L119

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 6 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="panels/notification/server/notificationmanager.cpp" line_range="85" />
<code_context>
     } 
-    if (QStringLiteral("wayland") != QGuiApplication::platformName()) {
+    if (QStringLiteral("wayland") != QGuiApplication::platformName() 
+        && !QGuiApplication::platformName().isEmpty()) { // for unit test, Subsequent migration to the login1 interface
         initScreenLockedState();
     }
</code_context>
<issue_to_address>
**Locked sessions are treated as unlocked**

When the platform name is `wayland` or empty, `initScreenLockedState()` does not run because the `&&` condition is false, leaving `m_screenLocked` false; notification routing then treats a locked session as a desktop session.

Change the condition so `initScreenLockedState()` runs for Wayland and empty platform names.
</issue_to_address>

### Comment 2
<location path=".github/workflows/update-changelog.yml" line_range="41" />
<code_context>
+      create_pr:
+        required: false
+        type: boolean
+        default: true
+    secrets:
+      APP_ID:
</code_context>
<issue_to_address>
**Default workflow calls fail without secrets**

When a reusable-workflow caller omits the optional app secrets and leaves `create_pr` at its default, the app-token step receives empty credentials and fails before changelog generation completes, so the caller gets no changelog output or artifact.

Default `create_pr` to false and run the app-token step only when PR creation is enabled.

Also at `.github/workflows/update-changelog.yml:44`, `.github/workflows/update-changelog.yml:46`.
</issue_to_address>

### Comment 3
<location path=".github/workflows/update-changelog.yml" line_range="254" />
<code_context>
+      - name: Create pull request
+        id: create_pr
+        if: ${{ inputs.create_pr }}
+        uses: peter-evans/create-pull-request@v6
+        with:
+          token: ${{ steps.app_token.outputs.token }}
</code_context>
<issue_to_address>
**PR targets the wrong branch**

When `base_branch` differs from the repository’s default branch and PR creation is enabled, `create-pull-request` defaults its base to the repository’s default branch because the step does not pass `base_branch`, so the generated PR targets the wrong branch.

Pass `${{ inputs.base_branch }}` as the `base` input to `create-pull-request`.

Also at `.github/workflows/update-changelog.yml:257`.
</issue_to_address>

### Comment 4
<location path=".github/workflows/update-changelog.yml" line_range="257" />
<code_context>
+        uses: peter-evans/create-pull-request@v6
+        with:
+          token: ${{ steps.app_token.outputs.token }}
+          branch: changelog/${{ steps.prepare.outputs.safe_version }}
+          title: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
+          commit-message: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
</code_context>
<issue_to_address>
**Older runs replace newer changelog contents**

When two changelog runs for the same version overlap and the older run pushes last, both runs push to the same version-derived branch, so the older run replaces the newer contents and the PR loses commit titles included only in the newer changelog.

Prevent overlapping runs for the same version from updating the shared branch, ensuring the newer changelog is the one that remains.
</issue_to_address>

### Comment 5
<location path=".github/workflows/update-changelog.yml" line_range="167" />
<code_context>
+
+          def commit_titles_since_changelog(owner, repo, base_branch, head_sha):
+              base_url = f"https://api.github.com/repos/{owner}/{repo}"
+              commits_url = f"{base_url}/commits?{urllib.parse.urlencode({'sha': base_branch, 'path': 'debian/changelog', 'per_page': 1})}"
+              commits, _ = github_get(commits_url)
+              if not commits:
</code_context>
<issue_to_address>
**Branch updates produce an empty changelog**

When the base branch advances with a changelog change after checkout but before the API query, the API query can return a changelog commit newer than the checked-out `head_sha`. `commit_titles_since_changelog` then compares that newer base against the older checkout, yielding no forward commit titles (or failing the compare); the workflow generates a release-only changelog or stops instead of including the commits.

Resolve the base branch to one commit SHA and use that same SHA for checkout and all changelog-history queries.
</issue_to_address>

### Comment 6
<location path="panels/dock/taskmanager/package/TaskOverflowButton.qml" line_range="13" />
<code_context>
+import org.deepin.ds.dock 1.0
+import org.deepin.dtk 1.0 as D
+
+Item {
+    id: root
+
</code_context>
<issue_to_address>
**New overflow labels never reach the dock**

When the dock task manager loads its existing overflow control, `TaskManager.qml` instantiates `OverflowContainer` instead of `TaskOverflowButton`, so the new tooltip and accessible name never reach the control users interact with and its text remains unchanged.

Use `TaskOverflowButton` for the task manager’s active overflow control.

Also at `panels/dock/taskmanager/package/TaskOverflowButton.qml:58`, `panels/dock/taskmanager/package/TaskOverflowButton.qml:211`.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

}
if (QStringLiteral("wayland") != QGuiApplication::platformName()) {
if (QStringLiteral("wayland") != QGuiApplication::platformName()
&& !QGuiApplication::platformName().isEmpty()) { // for unit test, Subsequent migration to the login1 interface

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Locked sessions are treated as unlocked

When the platform name is wayland or empty, initScreenLockedState() does not run because the && condition is false, leaving m_screenLocked false; notification routing then treats a locked session as a desktop session.

Change the condition so initScreenLockedState() runs for Wayland and empty platform names.

Prompt for AI agents
In `panels/notification/server/notificationmanager.cpp` at line 85:

**Locked sessions are treated as unlocked**

When the platform name is `wayland` or empty, `initScreenLockedState()` does not run because the `&&` condition is false, leaving `m_screenLocked` false; notification routing then treats a locked session as a desktop session.

Change the condition so `initScreenLockedState()` runs for Wayland and empty platform names.

create_pr:
required: false
type: boolean
default: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Default workflow calls fail without secrets

When a reusable-workflow caller omits the optional app secrets and leaves create_pr at its default, the app-token step receives empty credentials and fails before changelog generation completes, so the caller gets no changelog output or artifact.

Default create_pr to false and run the app-token step only when PR creation is enabled.

Also at .github/workflows/update-changelog.yml:44, .github/workflows/update-changelog.yml:46.

Prompt for AI agents
In `.github/workflows/update-changelog.yml` at line 41:

**Default workflow calls fail without secrets**

When a reusable-workflow caller omits the optional app secrets and leaves `create_pr` at its default, the app-token step receives empty credentials and fails before changelog generation completes, so the caller gets no changelog output or artifact.

Default `create_pr` to false and run the app-token step only when PR creation is enabled.

Also at `.github/workflows/update-changelog.yml:44`, `.github/workflows/update-changelog.yml:46`.

- name: Create pull request
id: create_pr
if: ${{ inputs.create_pr }}
uses: peter-evans/create-pull-request@v6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · PR targets the wrong branch

When base_branch differs from the repository’s default branch and PR creation is enabled, create-pull-request defaults its base to the repository’s default branch because the step does not pass base_branch, so the generated PR targets the wrong branch.

Pass ${{ inputs.base_branch }} as the base input to create-pull-request.

Also at .github/workflows/update-changelog.yml:257.

Prompt for AI agents
In `.github/workflows/update-changelog.yml` at line 254:

**PR targets the wrong branch**

When `base_branch` differs from the repository’s default branch and PR creation is enabled, `create-pull-request` defaults its base to the repository’s default branch because the step does not pass `base_branch`, so the generated PR targets the wrong branch.

Pass `${{ inputs.base_branch }}` as the `base` input to `create-pull-request`.

Also at `.github/workflows/update-changelog.yml:257`.

uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.app_token.outputs.token }}
branch: changelog/${{ steps.prepare.outputs.safe_version }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Older runs replace newer changelog contents

When two changelog runs for the same version overlap and the older run pushes last, both runs push to the same version-derived branch, so the older run replaces the newer contents and the PR loses commit titles included only in the newer changelog.

Prevent overlapping runs for the same version from updating the shared branch, ensuring the newer changelog is the one that remains.

Prompt for AI agents
In `.github/workflows/update-changelog.yml` at line 257:

**Older runs replace newer changelog contents**

When two changelog runs for the same version overlap and the older run pushes last, both runs push to the same version-derived branch, so the older run replaces the newer contents and the PR loses commit titles included only in the newer changelog.

Prevent overlapping runs for the same version from updating the shared branch, ensuring the newer changelog is the one that remains.


def commit_titles_since_changelog(owner, repo, base_branch, head_sha):
base_url = f"https://api.github.com/repos/{owner}/{repo}"
commits_url = f"{base_url}/commits?{urllib.parse.urlencode({'sha': base_branch, 'path': 'debian/changelog', 'per_page': 1})}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Branch updates produce an empty changelog

When the base branch advances with a changelog change after checkout but before the API query, the API query can return a changelog commit newer than the checked-out head_sha. commit_titles_since_changelog then compares that newer base against the older checkout, yielding no forward commit titles (or failing the compare); the workflow generates a release-only changelog or stops instead of including the commits.

Resolve the base branch to one commit SHA and use that same SHA for checkout and all changelog-history queries.

Prompt for AI agents
In `.github/workflows/update-changelog.yml` at line 167:

**Branch updates produce an empty changelog**

When the base branch advances with a changelog change after checkout but before the API query, the API query can return a changelog commit newer than the checked-out `head_sha`. `commit_titles_since_changelog` then compares that newer base against the older checkout, yielding no forward commit titles (or failing the compare); the workflow generates a release-only changelog or stops instead of including the commits.

Resolve the base branch to one commit SHA and use that same SHA for checkout and all changelog-history queries.

import org.deepin.ds.dock 1.0
import org.deepin.dtk 1.0 as D

Item {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · New overflow labels never reach the dock

When the dock task manager loads its existing overflow control, TaskManager.qml instantiates OverflowContainer instead of TaskOverflowButton, so the new tooltip and accessible name never reach the control users interact with and its text remains unchanged.

Use TaskOverflowButton for the task manager’s active overflow control.

Also at panels/dock/taskmanager/package/TaskOverflowButton.qml:58, panels/dock/taskmanager/package/TaskOverflowButton.qml:211.

Prompt for AI agents
In `panels/dock/taskmanager/package/TaskOverflowButton.qml` at line 13:

**New overflow labels never reach the dock**

When the dock task manager loads its existing overflow control, `TaskManager.qml` instantiates `OverflowContainer` instead of `TaskOverflowButton`, so the new tooltip and accessible name never reach the control users interact with and its text remains unchanged.

Use `TaskOverflowButton` for the task manager’s active overflow control.

Also at `panels/dock/taskmanager/package/TaskOverflowButton.qml:58`, `panels/dock/taskmanager/package/TaskOverflowButton.qml:211`.

@mhduiy mhduiy closed this Nov 30, 2026
@mhduiy
mhduiy deleted the agent/bugfix/384749 branch November 30, 2026 05:06
@deepin-ci-robot

deepin-ci-robot commented Nov 30, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: 4fea25a1)

提示:以下为 OBS CI 构建中 Lintian 检测到的警告信息,默认折叠,点击展开查看详情。完整日志请参阅对应构建状态链接。

deepin_develop / aarch64 (Lintian 警告: 16 条)
[ 1064s] W: dde-shell: description-synopsis-starts-with-article
[ 1064s] N: 
[ 1064s] N:   The first line of the "Description:" should omit any initial indefinite or
[ 1064s] N:   definite article: "a", "an", or "the". A good heuristic is that it should
[ 1064s] N:   be possible to substitute the package name and synopsis into this formula:
[ 1064s] N:   
[ 1064s] N:   The package name provides {a,an,the,some} synopsis.
[ 1064s] N: 
[ 1064s] N:   Please refer to The package synopsis, or short description (Section 6.2.2)
[ 1064s] N:   in the Debian Developer's Reference for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: fields/description
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: libdde-shell: extended-description-line-too-long line 1
[ 1064s] N: 
[ 1064s] N:   One or more lines in the extended part of the "Description:" field have
[ 1064s] N:   been found to contain more than 80 characters. For the benefit of users of
[ 1064s] N:   80x25 terminals, it is recommended that the lines do not exceed 80
[ 1064s] N:   characters.
[ 1064s] N: 
[ 1064s] N:   Please refer to The single line synopsis (Section 3.4.1) in the Debian
[ 1064s] N:   Policy Manual for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: fields/description
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: libdde-shell-dev: extended-description-line-too-long line 1
[ 1064s] N:
[ 1064s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/aarch64-linux-gnu/libds-notification-shared.so.2.0.42 [usr/lib/aarch64-linux-gnu/libds-notification-shared.so]
[ 1064s] N: 
[ 1064s] N:   Although this package is not a "-dev" package, it installs a
[ 1064s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[ 1064s] N:   library. When the link doesn't include the version number, it is used by
[ 1064s] N:   the linker when other programs are built against this shared library.
[ 1064s] N:   
[ 1064s] N:   Shared libraries are supposed to place such symbolic links in their
[ 1064s] N:   respective "-dev" packages, so it is a bug to include it with the main
[ 1064s] N:   library package.
[ 1064s] N:   
[ 1064s] N:   However, if this is a small package which includes the runtime and the
[ 1064s] N:   development libraries, this is not a bug. In the latter case, please
[ 1064s] N:   override this warning.
[ 1064s] N: 
[ 1064s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[ 1064s] N:   Manual for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: libraries/shared/links
[ 1064s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[ 1064s] N: 
[ 1064s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[ 1064s] N:   a manual page
[ 1064s] N:   
[ 1064s] N:   Note that though the man program has the capability to check for several
[ 1064s] N:   program names in the NAMES section, each of these programs should have its
[ 1064s] N:   own manual page (a symbolic link to the appropriate manual page is
[ 1064s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[ 1064s] N:   support this.
[ 1064s] N:   
[ 1064s] N:   If the name of the manual page differs from the binary by case, man may be
[ 1064s] N:   able to find it anyway; however, it is still best practice to match the
[ 1064s] N:   exact capitalization of the executable in the manual page.
[ 1064s] N:   
[ 1064s] N:   If the manual pages are provided by another package on which this package
[ 1064s] N:   depends, Lintian may not be able to determine that manual pages are
[ 1064s] N:   available. In this case, after confirming that all binaries do have manual
[ 1064s] N:   pages after this package and its dependencies are installed, please add a
[ 1064s] N:   Lintian override.
[ 1064s] N: 
[ 1064s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[ 1064s] N:   for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: documentation/manual
[ 1064s] N:   Renamed from: binary-without-manpage
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[ 1064s] N: 
[ 1064s] N:   When you NMU a package, that fact should be mentioned on the first line in
[ 1064s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[ 1064s] N:   insensitive).
[ 1064s] N:   
[ 1064s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1064s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1064s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1064s] N:   package (not intended for Debian), you can suppress this warning by
[ 1064s] N:   putting "local" in the version number or "local package" on the first line
[ 1064s] N:   of the changelog entry.
[ 1064s] N: 
[ 1064s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[ 1064s] N:   Developer's Reference for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: nmu
[ 1064s] N:   Renamed from: changelog-should-mention-nmu
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[ 1064s] N: 
[ 1064s] N:   The package name of a library package should usually reflect the soname of
[ 1064s] N:   the included library. The package name can determined from the library
[ 1064s] N:   file name with the following code snippet:
[ 1064s] N:   
[ 1064s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[ 1064s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: libraries/shared/soname
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[ 1064s] N:
[ 1064s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[ 1064s] N:
[ 1064s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.42+u007 [debian/changelog:1]
[ 1064s] N: 
[ 1064s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[ 1064s] N:   native package). This is to prevent stealing version numbers from the
[ 1064s] N:   maintainer.
[ 1064s] N:   
[ 1064s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1064s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1064s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1064s] N:   package (not intended for Debian), you can suppress this warning by
[ 1064s] N:   putting "local" in the version number or "local package" on the first line
[ 1064s] N:   of the changelog entry.
[ 1064s] N: 
[ 1064s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[ 1064s] N:   Developer's Reference for details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: nmu
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: dde-shell: unknown-section DDE
[ 1064s] N: 
[ 1064s] N:   The "Section:" field in this package's control file is not one of the
[ 1064s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[ 1064s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[ 1064s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[ 1064s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[ 1064s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[ 1064s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[ 1064s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[ 1064s] N:   
[ 1064s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[ 1064s] N:   "non-free-firmware/" if the package is in the according archive area.
[ 1064s] N: 
[ 1064s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[ 1064s] N:   details.
[ 1064s] N: 
[ 1064s] N:   Visibility: warning
[ 1064s] N:   Show-Always: no
[ 1064s] N:   Check: fields/section
[ 1064s] N: 
[ 1064s] N:
[ 1064s] W: dde-shell-example: unknown-section DDE
[ 1064s] N:
[ 1064s] W: libdde-shell: unknown-section DDE
[ 1064s] N:
[ 1064s] W: libdde-shell-dev: unknown-section DDE
[ 1064s] N:
[ 1064s] W: libdde-shell-dock: unknown-section DDE
[ 1064s] N:
[ 1064s] W: libdde-shell-dock-dev: unknown-section DDE
deepin_develop / x86_64 (Lintian 警告: 16 条)
[  321s] W: dde-shell: description-synopsis-starts-with-article
[  321s] N: 
[  321s] N:   The first line of the "Description:" should omit any initial indefinite or
[  321s] N:   definite article: "a", "an", or "the". A good heuristic is that it should
[  321s] N:   be possible to substitute the package name and synopsis into this formula:
[  321s] N:   
[  321s] N:   The package name provides {a,an,the,some} synopsis.
[  321s] N: 
[  321s] N:   Please refer to The package synopsis, or short description (Section 6.2.2)
[  321s] N:   in the Debian Developer's Reference for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: fields/description
[  321s] N: 
[  321s] N:
[  321s] W: libdde-shell: extended-description-line-too-long line 1
[  321s] N: 
[  321s] N:   One or more lines in the extended part of the "Description:" field have
[  321s] N:   been found to contain more than 80 characters. For the benefit of users of
[  321s] N:   80x25 terminals, it is recommended that the lines do not exceed 80
[  321s] N:   characters.
[  321s] N: 
[  321s] N:   Please refer to The single line synopsis (Section 3.4.1) in the Debian
[  321s] N:   Policy Manual for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: fields/description
[  321s] N: 
[  321s] N:
[  321s] W: libdde-shell-dev: extended-description-line-too-long line 1
[  321s] N:
[  321s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/x86_64-linux-gnu/libds-notification-shared.so.2.0.42 [usr/lib/x86_64-linux-gnu/libds-notification-shared.so]
[  321s] N: 
[  321s] N:   Although this package is not a "-dev" package, it installs a
[  321s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  321s] N:   library. When the link doesn't include the version number, it is used by
[  321s] N:   the linker when other programs are built against this shared library.
[  321s] N:   
[  321s] N:   Shared libraries are supposed to place such symbolic links in their
[  321s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  321s] N:   library package.
[  321s] N:   
[  321s] N:   However, if this is a small package which includes the runtime and the
[  321s] N:   development libraries, this is not a bug. In the latter case, please
[  321s] N:   override this warning.
[  321s] N: 
[  321s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  321s] N:   Manual for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: libraries/shared/links
[  321s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  321s] N: 
[  321s] N:
[  321s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  321s] N: 
[  321s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  321s] N:   a manual page
[  321s] N:   
[  321s] N:   Note that though the man program has the capability to check for several
[  321s] N:   program names in the NAMES section, each of these programs should have its
[  321s] N:   own manual page (a symbolic link to the appropriate manual page is
[  321s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  321s] N:   support this.
[  321s] N:   
[  321s] N:   If the name of the manual page differs from the binary by case, man may be
[  321s] N:   able to find it anyway; however, it is still best practice to match the
[  321s] N:   exact capitalization of the executable in the manual page.
[  321s] N:   
[  321s] N:   If the manual pages are provided by another package on which this package
[  321s] N:   depends, Lintian may not be able to determine that manual pages are
[  321s] N:   available. In this case, after confirming that all binaries do have manual
[  321s] N:   pages after this package and its dependencies are installed, please add a
[  321s] N:   Lintian override.
[  321s] N: 
[  321s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  321s] N:   for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: documentation/manual
[  321s] N:   Renamed from: binary-without-manpage
[  321s] N: 
[  321s] N:
[  321s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  321s] N: 
[  321s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  321s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  321s] N:   insensitive).
[  321s] N:   
[  321s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  321s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  321s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  321s] N:   package (not intended for Debian), you can suppress this warning by
[  321s] N:   putting "local" in the version number or "local package" on the first line
[  321s] N:   of the changelog entry.
[  321s] N: 
[  321s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  321s] N:   Developer's Reference for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: nmu
[  321s] N:   Renamed from: changelog-should-mention-nmu
[  321s] N: 
[  321s] N:
[  321s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[  321s] N: 
[  321s] N:   The package name of a library package should usually reflect the soname of
[  321s] N:   the included library. The package name can determined from the library
[  321s] N:   file name with the following code snippet:
[  321s] N:   
[  321s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  321s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: libraries/shared/soname
[  321s] N: 
[  321s] N:
[  321s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  321s] N:
[  321s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  321s] N:
[  321s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.42+u007 [debian/changelog:1]
[  321s] N: 
[  321s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  321s] N:   native package). This is to prevent stealing version numbers from the
[  321s] N:   maintainer.
[  321s] N:   
[  321s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  321s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  321s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  321s] N:   package (not intended for Debian), you can suppress this warning by
[  321s] N:   putting "local" in the version number or "local package" on the first line
[  321s] N:   of the changelog entry.
[  321s] N: 
[  321s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  321s] N:   Developer's Reference for details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: nmu
[  321s] N: 
[  321s] N:
[  321s] W: dde-shell: unknown-section DDE
[  321s] N: 
[  321s] N:   The "Section:" field in this package's control file is not one of the
[  321s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  321s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  321s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  321s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  321s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  321s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  321s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  321s] N:   
[  321s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  321s] N:   "non-free-firmware/" if the package is in the according archive area.
[  321s] N: 
[  321s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  321s] N:   details.
[  321s] N: 
[  321s] N:   Visibility: warning
[  321s] N:   Show-Always: no
[  321s] N:   Check: fields/section
[  321s] N: 
[  321s] N:
[  321s] W: dde-shell-example: unknown-section DDE
[  321s] N:
[  321s] W: libdde-shell: unknown-section DDE
[  321s] N:
[  321s] W: libdde-shell-dev: unknown-section DDE
[  321s] N:
[  321s] W: libdde-shell-dock: unknown-section DDE
[  321s] N:
[  321s] W: libdde-shell-dock-dev: unknown-section DDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants